﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sc.Domain
{
    /// <summary>
    /// CarScrap:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class CarScrap
    {
        public CarScrap()
        { }
        #region Model
        private int _id;
        private int _carinfoid;
        private DateTime _scraptime;
        private DateTime _registrationtime;
        private int _servicelife;
        private string _scrapaddress;
        private decimal _residualvalue;
        private decimal _residualamount;
        private string _scrapreson;
        private DateTime _createtime = DateTime.Now;
        private int _userid;
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 车辆
        /// </summary>
        public int CarInfoId
        {
            set { _carinfoid = value; }
            get { return _carinfoid; }
        }
        /// <summary>
        /// 报废时间
        /// </summary>
        public DateTime ScrapTime
        {
            set { _scraptime = value; }
            get { return _scraptime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime RegistrationTime
        {
            set { _registrationtime = value; }
            get { return _registrationtime; }
        }
        /// <summary>
        /// 使用年限
        /// </summary>
        public int ServiceLife
        {
            set { _servicelife = value; }
            get { return _servicelife; }
        }
        /// <summary>
        /// 报废地址
        /// </summary>
        public string ScrapAddress
        {
            set { _scrapaddress = value; }
            get { return _scrapaddress; }
        }
        /// <summary>
        /// 残余值率
        /// </summary>
        public decimal ResidualValue
        {
            set { _residualvalue = value; }
            get { return _residualvalue; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal ResidualAmount
        {
            set { _residualamount = value; }
            get { return _residualamount; }
        }
        /// <summary>
        /// 报废原因
        /// </summary>
        public string ScrapReson
        {
            set { _scrapreson = value; }
            get { return _scrapreson; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 操作人
        /// </summary>
        public int UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        #endregion Model

    }
}
